package com.zmn.oms.persistence.interfaces.factory;

import com.zmn.oms.model.entity.factory.OrderFactory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderFactoryDao {

    List<OrderFactory> listEsOrderFactoryByOrderIdList(@Param("orderIdList") List<Long> orderIdList);

    OrderFactory findByKey(Long merId);

    int updateReviewByKey(OrderFactory orderFactory);

    int updateReviewDefaultByKey(OrderFactory orderFactory);

    int updateByKey(OrderFactory orderFactory);

    int insert(OrderFactory orderFactory);
}
